#!/usr/bin/bash

# 时间校准
# echo 850566 | sudo -S ntpd -gq
echo 850566 | sudo -S ntpdate -u cn.pool.ntp.org &

slstatus &
#compton -b &
picom -b &
#feh --bg-scale /home/alpha/suckless/dwm/wall/background.png &
#feh --bg-scale /home/alpha/suckless/dwm/wall/lixian16.jpg &
/usr/bin/bash ~/suckless/dwm/wall/wallpic.sh &
fcitx5 &
numlockx &

# 修复 idea、pycharm 无法打开的问题
# 需要安装wmname (sudo pacman -S wmname)
# 然后运行如下三个命令
export _JAVA_AWT_WM_NONREPARENTING=1 
export AWT_TOOLKIT=MToolkit 
wmname LG3D
# 打开时钟
/usr/bin/bash ~/Digital\ Clock\ 4/digital_clock.sh &
# conky -c ~/.config/conky/Regulus_DOrange/Regulus.conf &
conky &
redshift &
#google-chrome-stable &

# 挂载windows系统磁盘
echo 850566 | sudo -S mount -t ntfs-3g /dev/sda5 /mnt/e 1>/dev/null 2>/dev/null
echo 850566 | sudo -S mount -t ntfs-3g /dev/sda9 /mnt/f 1>/dev/null 2>/dev/null
mpd 


# echo 850566 | sudo -S wpa_supplicant -B -i wlp3s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
# echo 850566 | sudo -S dhcpcd
